﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using IgrMensageiros.UI;
namespace IgrMensageiros
{
    public partial class UI_Principal : Form
    {
        public UI_Principal(String pUSuario)
        {
            InitializeComponent();
            label12.Text = pUSuario;
        }

        private void btnClose_Click_1(object sender, EventArgs e)
        {
            try
            {
                Close();
            }
            catch (Exception)
            {
                throw;
            }
        }

        private void membrosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                UI_CadMembros cadastros = new UI_CadMembros();
                cadastros.Show();
            }
            catch (Exception)
            {
                
                throw;
            }
        }

       

        private void acessotoolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                UI_Permissoes permissoes = new UI_Permissoes();
                permissoes.Show();
            }
            catch (Exception)
            {

                throw;
            }
        }

        private void igrejatoolStripMenuItem2_Click(object sender, EventArgs e)
        {
            try
            {
                UI_IgrejasCongregacao igrejasCongregacao = new UI_IgrejasCongregacao();
                igrejasCongregacao.Show();
            }
            catch (Exception)
            {

                throw;
            }
        }

       
    }
}
